#ifndef __LCD_H__
#define __LCD_H__


#define LCD_RS  LATCbits.LATC6
#define LCD_RW  LATCbits.LATC1
#define LCD_E   LATCbits.LATC2
#define LCD_RES LATCbits.LATC0
#define LCD_CS  LATCbits.LATC7
#define LCD_LED LATBbits.LATB5

extern void gLcdCommand(unsigned char cmd);
extern void gLcdWriteData(unsigned char wdata);
extern unsigned char gLcdReadData(void);
extern void lcd_initialize(void);

#endif
